package ltd.newbee.mall.dao;

import ltd.newbee.mall.entity.NewBeeMallGoods;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface IGoodsDAO extends JpaRepository<NewBeeMallGoods, Long> {

    // 通过id找到商品
    NewBeeMallGoods findNewBeeMallGoodsByGoodsId(long goodsId);

}
